/**
 * 
 */
package ads.engenharia.dal;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

import ads.engenharia.entity.Course;
import ads.engenharia.entity.Discipline;

/**
 * @author Lanedraex
 *
 */
public class CourseDisciplineDAO {

	private EntityManager em = new EntityManager() {

		@Override
		public Object treatResultSet(ResultSet resultSet) throws SQLException {
			Course course = new Course();

			return course;
		}
	};

	/**
	 * Saves the discipline for the course in the junction table.
	 * 
	 * @param course
	 * @throws SQLException
	 */
	public void save(Course course) throws SQLException {

	}

	public ArrayList<Discipline> searchAllCourseDiscipline(Course course) {

		return null;
	}

	public ArrayList<Discipline> searchAllCourseDiscipline(Discipline discipline) {

		return null;
	}

	public ArrayList<Discipline> searchAllCourseDiscipline(int id) {

		return null;
	}
}
